package com.miracle9.game.dao;
import com.miracle9.game.entity.WaterDeskThirtyMinResult;
import org.hibernate.Query;
import org.springframework.stereotype.Repository;

@Repository
public class WaterDeskThirtyMinResultServiceDao extends SqlOperating<WaterDeskThirtyMinResult, Integer>
{
  public void deletePastResult(String date)
  {
	  q_CreateSql("delete from WaterDeskThirtyMinResult where startDate<?", new Object[] { date }).executeUpdate();
  }
}

